package com.hzit.payweb.service.impl;

import com.hzit.paycommon.paycommonapi.resp.RespVo;
//import com.hzit.payweb.iclient.IWePayFrontClient;
import com.hzit.payweb.model.PaySerial;
import com.hzit.payweb.service.IPayStrategy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 微信H5支付
 */
@Service
public class WePayH5ServiceImpl implements IPayStrategy {

//    @Autowired
//    private IWePayFrontClient wePayFrontClient;


    @Override
    public RespVo pay(PaySerial paySerial) {

        //1.封装 对象

        //2.调用微信H5支付的前置服务
//        wePayFrontClient.tradePre();

        //3.解析。封装返回对象

        return null;
    }
}
